
		<?php if(empty($register['Menu']['id'])){ ?>
		<h4><img src="<?php echo $html->url('/img/admin/edit_register.png');?>" /> <?php __('add_menu');?></h4>
		<?php }else{?>
		<h4><img src="<?php echo $html->url('/img/admin/edit_register.png');?>" /> <?php __('edit_menu');?></h4>
		<?php } ?>

		<form id="f_register" action="<?php echo $html->url('add'); ?>" method="post" onSubmit="event.returnValue = false; return false;">

			<div class="white_box white_box_last">
			<label><?php __('name_menu');?></label>
			<?php echo $form->text('Menu.name',array('value' => $register['Menu']['name'], 'style' => 'width:690px;', 'class' => 'input_text'));?>
										
			<!-- ID que pertenece el menu -->
			<?php echo $form->hidden('Menu.id',array('value' => $register['Menu']['id']));?>

			</div>
		<input type="submit" name="bot_guardar" value="<?php __('save');?>" class="input_button" />
		</form>
		<script type="text/javascript">
		//<![CDATA[
		Event.observe('f_register', 'submit', function(event){ajaxFormRequest('f_register','ajax_loading');}, false);
		//]]>
		</script>
